uppercase javascript

57

how to convert string to uppercase in javascript -

const upperCase = (string) => {
  const newText = string.toUpperCase();
  return newText;
};

Comments

Submit
0 Comments